DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(Byte[],String) Method

The byte array to write dataset to

Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.




In This Topic
    Write(Byte[],String) Method
    In This Topic
    Writes dataset to a byte array with specified transfer syntax
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByRef Array() As Byte, _
       ByVal TransferSyntax As String _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Array() As Byte
    Dim TransferSyntax As String
     
    instance.Write(Array, TransferSyntax)
    public void Write( 
       out byte[] Array,
       string TransferSyntax
    )
    public:
    void Write( 
       [Out] array<byte>^ Array,
       String^ TransferSyntax
    ) 

    Parameters

    Array

    The byte array to write dataset to

    TransferSyntax

    Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.

    Remarks

    Data may subsequently be read by the Read method or by other DICOM software.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also